The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.
Build.PL 11
Changes 06
INSTALL 11
MANIFEST 01
META.json 22
META.yml 22
Makefile.PL 11
README 11
SIGNATURE 1920
dist.ini 11
lib/File/ChangeNotify/Event.pm 33
lib/File/ChangeNotify/Watcher/Default.pm 33
lib/File/ChangeNotify/Watcher/Inotify.pm 33
lib/File/ChangeNotify/Watcher/KQueue.pm 11
lib/File/ChangeNotify/Watcher.pm 33
lib/File/ChangeNotify.pm 35
t/release-eol.t 11
t/release-try-load.t 031
18 files changed (This is a version diff) 4586
@@ -35,7 +35,7 @@ my %module_build_args = (
     'Dave Rolsky <autarch@urth.org>'
   ],
   'dist_name' => 'File-ChangeNotify',
-  'dist_version' => '0.16',
+  'dist_version' => '0.17',
   'license' => 'artistic_2',
   'module_name' => 'File::ChangeNotify',
   'recommends' => {},
@@ -1,3 +1,9 @@
+0.17   2010-10-04
+
+- Loading File::ChangeNotify always loads the Default watcher class. This will
+  give a useful error message if this module's prereqs are not loaded.
+
+
 0.16   2010-07-12
 
 - Changes to avoid a warning about a useless coercion from future versions of
@@ -38,7 +38,7 @@ If you are installing into a system-wide directory, you may need to run:
 
 ## Documentation
 
-File-ChangeNotify documentation is available as in POD.
+File-ChangeNotify documentation is available as POD.
 You can run perldoc from a shell to read the documentation:
 
     % perldoc File::ChangeNotify
@@ -25,3 +25,4 @@ t/release-kwalitee.t
 t/release-pod-coverage.t
 t/release-pod-spell.t
 t/release-pod.t
+t/release-try-load.t
@@ -4,7 +4,7 @@
       "Dave Rolsky <autarch@urth.org>"
    ],
    "dynamic_config" : 0,
-   "generated_by" : "Dist::Zilla version 4.101812, CPAN::Meta::Converter version 2.101670",
+   "generated_by" : "Dist::Zilla version 4.102341, CPAN::Meta::Converter version 2.101670",
    "license" : [
       "artistic_2"
    ],
@@ -59,6 +59,6 @@
          "web" : "http://hg.urth.org/hg/File-ChangeNotify"
       }
    },
-   "version" : "0.16"
+   "version" : "0.17"
 }
 
@@ -11,7 +11,7 @@ configure_requires:
   ExtUtils::MakeMaker: 6.31
   Module::Build: 0.3601
 dynamic_config: 0
-generated_by: 'Dist::Zilla version 4.101812, CPAN::Meta::Converter version 2.101670'
+generated_by: 'Dist::Zilla version 4.102341, CPAN::Meta::Converter version 2.101670'
 license: artistic_2
 meta-spec:
   url: http://module-build.sourceforge.net/META-spec-v1.4.html
@@ -31,4 +31,4 @@ requires:
 resources:
   bugtracker: http://rt.cpan.org/NoAuth/Bugs.html?Dist=File-ChangeNotify
   repository: http://hg.urth.org/hg/File-ChangeNotify
-version: 0.16
+version: 0.17
@@ -37,7 +37,7 @@ my %WriteMakefileArgs = (
     'Time::HiRes' => '0',
     'namespace::autoclean' => '0'
   },
-  'VERSION' => '0.16',
+  'VERSION' => '0.17',
   'test' => {
     'TESTS' => 't/*.t'
   }
@@ -1,7 +1,7 @@
 
 
 This archive contains the distribution File-ChangeNotify,
-version 0.16:
+version 0.17:
 
   Watch for changes to files, cross-platform style
 
@@ -14,36 +14,37 @@ not run its Makefile.PL or Build.PL.
 -----BEGIN PGP SIGNED MESSAGE-----
 Hash: SHA1
 
-SHA1 5765412dffd0cb2c0832e12d5ec310c93f85fe54 Build.PL
-SHA1 313adde2db3974cf8ab5f1d6bcec6594357e2819 Changes
-SHA1 9ba9a0e8afcd1cc307807eccf2edfc187db72271 INSTALL
+SHA1 efef993adabb5db6b86fa321cc95e1c1ff22aa13 Build.PL
+SHA1 de18f0820650cdec53cadd7641ee526408d39de2 Changes
+SHA1 4c0c7e93d78142144a9b1fcabd161adb2a3abf9b INSTALL
 SHA1 23c628b4a8a36738405ccdacaeb912d2e727b4c0 LICENSE
-SHA1 a18030522165b706979dacdf0d42225c48e66eae MANIFEST
-SHA1 ff8685cc9a43837631de63cd09ecd3efafc27511 META.json
-SHA1 eec653995be1c348697f37aa5ef251f9823cec0f META.yml
-SHA1 eefeb3d3720b1bb0267bb915a96e5add86ab3885 Makefile.PL
-SHA1 331c1e8e73b6eab4f1246144512e69fe89a158b1 README
-SHA1 cf52ac572e1a91c88c4db6f65e6aad21c523a53e dist.ini
+SHA1 3d31a276934879feb37eafed650bc719bb17ad12 MANIFEST
+SHA1 9dca28fbe1cfe96432b966cf6c6bd0cc105e6a32 META.json
+SHA1 23b2f1f9e0dcf3a3d540461090ec457aaf61e959 META.yml
+SHA1 0e89acd1b34e7763b542485c2501e2868738d7d6 Makefile.PL
+SHA1 e6afea7b0be2e070cdaa56efd57a76aaa3447154 README
+SHA1 12d86d93511b2ae3f05266b7512ce13bf838048b dist.ini
 SHA1 7ade7a38764306110be102cb6b78aad66645246c inc/MyModuleBuild.pm
-SHA1 876ccb4b953445734e4545db52457fd22de5ebcc lib/File/ChangeNotify.pm
-SHA1 76663b62bfbc2bb482d12674f2008374ffb8fab2 lib/File/ChangeNotify/Event.pm
-SHA1 91e26995306514efedace5eddc9340edd8a13905 lib/File/ChangeNotify/Watcher.pm
-SHA1 277ddc9920405a586de6c8909b3caa5637649403 lib/File/ChangeNotify/Watcher/Default.pm
-SHA1 59344eae6538c87adabfb7c4bd49a25ecdcc0d05 lib/File/ChangeNotify/Watcher/Inotify.pm
-SHA1 e1ca9d5ecaaaad24cd52cc0ef0fa9f175ef1dcd1 lib/File/ChangeNotify/Watcher/KQueue.pm
+SHA1 4305f0855ac54e547826b243eeb37f905f15d9cd lib/File/ChangeNotify.pm
+SHA1 e102454e9c280ff08275916841ee1f6215bc5ef4 lib/File/ChangeNotify/Event.pm
+SHA1 02c57e124e1a78942dffeda1254e6b76f18cbb34 lib/File/ChangeNotify/Watcher.pm
+SHA1 3cc69beac51e3db80f418ef20544b28d25922adb lib/File/ChangeNotify/Watcher/Default.pm
+SHA1 924381c981ba3c3df92526e3ee3b29c3de6a1e09 lib/File/ChangeNotify/Watcher/Inotify.pm
+SHA1 c663fc2dc1145c2f675d5bbacdc2c64770590ae8 lib/File/ChangeNotify/Watcher/KQueue.pm
 SHA1 a20ef45409fdaaa48eb6c23e61c549f5578f8538 t/all.t
 SHA1 c4850e640da725089b03ac33ae1f87ba7a2cb7a8 t/excluded-dirs.t
 SHA1 e8a3259aff1b6f2433f03091c06e9e2c552ab1e2 t/instantiate-twice.t
 SHA1 a8f05c86efc7efc5060e21131edac6799606131c t/lib/File/ChangeNotify/TestHelper.pm
-SHA1 24b525e3c18f37f8022a01ec30de757cefb679ff t/release-eol.t
+SHA1 a032c41ef6887fab1b900669c2d304fab46680e2 t/release-eol.t
 SHA1 961a1e2c92d836c8cad2d34b784cbc75345dec63 t/release-kwalitee.t
 SHA1 d5beccc41e0e1f3908eb3f42bca81e3b2a662780 t/release-pod-coverage.t
 SHA1 0ce5a8c358e2cfd7f9e675c4691a0b5d99880a4a t/release-pod-spell.t
 SHA1 0bf5c7d045bcd17b72749ea8d57bfc2435913095 t/release-pod.t
+SHA1 458e8212d9093ce7f82a1a42d84d13cdb4a57672 t/release-try-load.t
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.10 (GNU/Linux)
 
-iEYEARECAAYFAkw7PacACgkQIgMCsV8qvRIGjQCfRunHp8hTk1LSQkKHANwQpUJ0
-KhoAoIXZfajcn96ysnpBCq+Z4QGOlGVs
-=SRbv
+iEYEARECAAYFAkyqLFwACgkQIgMCsV8qvRIzjwCeJXiMed26WcBp3GPAWmIbJQIf
+rYcAnjAjAmzIauPtvQ2sJFTyOfcl+faF
+=18XB
 -----END PGP SIGNATURE-----
@@ -2,7 +2,7 @@ name    = File-ChangeNotify
 author  = Dave Rolsky <autarch@urth.org>
 copyright_year = 2010
 
-version = 0.16
+version = 0.17
 
 [@Filter]
 bundle = @Basic
@@ -1,6 +1,6 @@
 package File::ChangeNotify::Event;
 BEGIN {
-  $File::ChangeNotify::Event::VERSION = '0.16';
+  $File::ChangeNotify::Event::VERSION = '0.17';
 }
 
 use strict;
@@ -38,7 +38,7 @@ File::ChangeNotify::Event - Class for file change events
 
 =head1 VERSION
 
-version 0.16
+version 0.17
 
 =head1 SYNOPSIS
 
@@ -81,7 +81,7 @@ Returns the type of event.
 
 =head1 AUTHOR
 
-  Dave Rolsky <autarch@urth.org>
+Dave Rolsky <autarch@urth.org>
 
 =head1 COPYRIGHT AND LICENSE
 
@@ -1,6 +1,6 @@
 package File::ChangeNotify::Watcher::Default;
 BEGIN {
-  $File::ChangeNotify::Watcher::Default::VERSION = '0.16';
+  $File::ChangeNotify::Watcher::Default::VERSION = '0.17';
 }
 
 use strict;
@@ -171,7 +171,7 @@ File::ChangeNotify::Watcher::Default - Fallback default watcher subclass
 
 =head1 VERSION
 
-version 0.16
+version 0.17
 
 =head1 DESCRIPTION
 
@@ -183,7 +183,7 @@ comparisons of the filesystem snapshot it takes.
 
 =head1 AUTHOR
 
-  Dave Rolsky <autarch@urth.org>
+Dave Rolsky <autarch@urth.org>
 
 =head1 COPYRIGHT AND LICENSE
 
@@ -1,6 +1,6 @@
 package File::ChangeNotify::Watcher::Inotify;
 BEGIN {
-  $File::ChangeNotify::Watcher::Inotify::VERSION = '0.16';
+  $File::ChangeNotify::Watcher::Inotify::VERSION = '0.17';
 }
 
 use strict;
@@ -211,7 +211,7 @@ File::ChangeNotify::Watcher::Inotify - Inotify-based watcher subclass
 
 =head1 VERSION
 
-version 0.16
+version 0.17
 
 =head1 DESCRIPTION
 
@@ -223,7 +223,7 @@ C<File::ChangeNotify::Watcher::Default> class.
 
 =head1 AUTHOR
 
-  Dave Rolsky <autarch@urth.org>
+Dave Rolsky <autarch@urth.org>
 
 =head1 COPYRIGHT AND LICENSE
 
@@ -1,6 +1,6 @@
 package File::ChangeNotify::Watcher::KQueue;
 BEGIN {
-  $File::ChangeNotify::Watcher::KQueue::VERSION = '0.16';
+  $File::ChangeNotify::Watcher::KQueue::VERSION = '0.17';
 }
 
 use strict;
@@ -1,6 +1,6 @@
 package File::ChangeNotify::Watcher;
 BEGIN {
-  $File::ChangeNotify::Watcher::VERSION = '0.16';
+  $File::ChangeNotify::Watcher::VERSION = '0.17';
 }
 
 use strict;
@@ -125,7 +125,7 @@ File::ChangeNotify::Watcher - Base class for all watchers
 
 =head1 VERSION
 
-version 0.16
+version 0.17
 
 =head1 SYNOPSIS
 
@@ -241,7 +241,7 @@ and report on them.
 
 =head1 AUTHOR
 
-  Dave Rolsky <autarch@urth.org>
+Dave Rolsky <autarch@urth.org>
 
 =head1 COPYRIGHT AND LICENSE
 
@@ -1,6 +1,6 @@
 package File::ChangeNotify;
 BEGIN {
-  $File::ChangeNotify::VERSION = '0.16';
+  $File::ChangeNotify::VERSION = '0.17';
 }
 
 use strict;
@@ -8,6 +8,8 @@ use warnings;
 
 use Carp qw( confess );
 use Class::MOP;
+# We load this up front to make sure that the prereq modules are installed.
+use File::ChangeNotify::Watcher::Default;
 use Module::Pluggable::Object;
 
 sub instantiate_watcher {
@@ -72,7 +74,7 @@ File::ChangeNotify - Watch for changes to files, cross-platform style
 
 =head1 VERSION
 
-version 0.16
+version 0.17
 
 =head1 SYNOPSIS
 
@@ -147,7 +149,7 @@ L<http://www.urth.org/~autarch/fs-donation.html>
 
 =head1 AUTHOR
 
-  Dave Rolsky <autarch@urth.org>
+Dave Rolsky <autarch@urth.org>
 
 =head1 COPYRIGHT AND LICENSE
 
@@ -13,4 +13,4 @@ use Test::More;
 eval 'use Test::EOL';
 plan skip_all => 'Test::EOL required' if $@;
 
-all_perl_files_ok();
+all_perl_files_ok({ trailing_whitespace => 1 });
@@ -0,0 +1,31 @@
+
+BEGIN {
+  unless ($ENV{RELEASE_TESTING}) {
+    require Test::More;
+    Test::More::plan(skip_all => 'these tests are for release candidate testing');
+  }
+}
+
+use strict;
+use warnings;
+
+use Test::More;
+
+use File::ChangeNotify;
+
+ok(
+    File::ChangeNotify::_try_load('File::ChangeNotify::Watcher::Default'),
+    'can load Default watcher'
+);
+
+ok(
+    File::ChangeNotify::_try_load('File::ChangeNotify::Watcher::Inotify'),
+    'can load Inotify watcher'
+);
+
+ok(
+    !File::ChangeNotify::_try_load('File::ChangeNotify::Watcher::KQueue'),
+    'cannot load KQueue watcher'
+);
+
+done_testing();